

const NO_CHANGES_HEADER = '未修改';
const NO_CHANGES_BODY = '没有任何修改，不需要提交!!!'
const BUTTON_PROPS_NO_CHANGES = { label: '生成协议文件'};
export const NO_CHANGES_MSG = {header: NO_CHANGES_HEADER, body: NO_CHANGES_BODY, type: 'warning-panel'};


const MODIFIED_HEADER = '提交规则集';
const MODIFIED_BODY = '你已新增/修改当前规则集，是否需要保存？'
export const MODIFIED_MSG = {header: MODIFIED_HEADER, body: MODIFIED_BODY, type: 'submit-panel', buttonProps: BUTTON_PROPS_NO_CHANGES,};


const NO_ATTRIBUTE_HEADER = '没有字段描述';
const NO_ATTRIBUTE_BODY = '当前规则集还没有定义字段描述.'
const BUTTON_PROPS_ATTRIBUTE = {label: '新增字段'};
export const NO_ATTRIBUTE_MSG = {header: NO_ATTRIBUTE_HEADER, body: NO_ATTRIBUTE_BODY, buttonProps: BUTTON_PROPS_ATTRIBUTE, type: 'warning-panel'};


const NO_DECISION_HEADER = '没有规则描述';
const NO_DECISION_BODY = '当前规则集还没有定义规则描述.'
const BUTTON_PROPS_DECISION = {label: '新增规则'};
export const NO_DECISION_MSG = {header: NO_DECISION_HEADER, body: NO_DECISION_BODY, buttonProps: BUTTON_PROPS_DECISION, type: 'warning-panel'};


const NO_VALIDATION_BODY = '当前规则集没有可用的规则描述进行校验.'
export const NO_VALIDATION_MSG = {header: NO_DECISION_HEADER, body: NO_VALIDATION_BODY, type: 'warning-panel'};

export const RULE_AVAILABLE_CREATE = { type: 'warning', heading: '当前规则名已存在' };

export const RULE_AVAILABLE_UPLOAD = { type: 'warning', heading: '无法上传 <name>' };

export const RULE_UPLOAD_ERROR = { type: 'error', heading: '上传文件时发生错误，请重试!!'};

export const RULE_ERROR = { type: 'error', heading: '抱歉，系统异常，请重试！'};